<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login页面</title>
</head>
<body>
<center>
    <h1>用户登录</h1>
    <form th:action="${context}+'/user/login.do'">
        <table border="1px">
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="username"/></td>
            </tr>
            <tr>
                <td>密 码：</td>
                <td><input type="password" name="password"/></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <button type="submit" >提交</button>
                </td>
            </tr>
        </table>
    </form>
    <br>
    <a th:href="${context}+'/user/toRegister.do'">新用户，去注册！</a>
</center>
</body>
</html>